package cn.zebra.dev.other.module.shopAddress.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 
 *
 * @author runnable
 */
@TableName("shop_address")
@Getter
@Setter
public class ShopAddressEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("店铺id（0为自营）")
    private Long shopId;

    @ApiModelProperty("收货人")
    private String consignee;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("省份")
    private String province;

    @ApiModelProperty("市")
    private String city;

    @ApiModelProperty("是否删除")
    private Boolean deleteFalg;

    @ApiModelProperty("详细地址")
    private String detailedAddress;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更改时间")
    private LocalDateTime updateTime;
}
